﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->

<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:datavis="using:WinRTXamlToolkit.Controls.DataVisualization.Charting"
    xmlns:charting="using:WinRTXamlToolkit.Controls.DataVisualization.Charting">

    <Style
        TargetType="charting:NumericAxisLabel">
        <Setter
            Property="IsTabStop"
            Value="False" />
        <Setter
            Property="StringFormat"
            Value="{}{0:0.##}" />
        <Setter
            Property="Template">
            <Setter.Value>
                <ControlTemplate
                    TargetType="charting:NumericAxisLabel">
                    <TextBlock
                        Text="{TemplateBinding FormattedContent}">
                    </TextBlock>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>